package com.heima.comment.pojos;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document("ap_comment_repay")
public class Repay {
    private String id;

    private String commentId;

    private String content;

    private Date createdTime;

    private Date updateTime;

    /**
     * 点赞数
     */
    private Integer likes;

    /**
     * 用户ID
     */
    private Integer authorId;

    /**
     * 用户名称
     */
    private String authorName;

    /**
     * 头像图片链接
     */
    private String image;
}
